<?php
/**
 * Created by PhpStorm.
 * User: z
 * Date: 14-8-22
 * Time: 下午2:44
 */
defined('SYSPATH') or die ('No direct access allowed.');
if(!Route::cache()){
    Route::set('commonapi','commonapi(/<controller>(/<action>))')
        ->defaults(array(
            'controller' => 'newerpapi',
            'action'     => 'index'
        ));
    Route::set('supplierapitest','supplierapitest(/<action>)')
        ->defaults(array(
            'controller' => 'supplierapitest',
            'action'     => 'index'
        ));
    Route::set('newerpapitest','newerpapitest(/<action>)')
        ->defaults(array(
            'controller' => 'newerpapitest',
            'action'     => 'index'
        ));
    Route::set('insertdoapi','insertdoapi(/<action>)')
        ->defaults(array(
            'controller' => 'insertdoapi',
            'action'     => 'index'
        ));
    Route::set('outlanderpapi','outlanderpapi(/<action>)')
        ->defaults(array(
            'controller' => 'outlanderpapi',
            'action'     => 'index'
        ));   
    Route::set('adapterstockapi','adapterstockapi(/<action>)')
        ->defaults(array(
            'controller' => 'adapterstockapi',
            'action'     => 'index'
        ));  
}
